package com.ruoyi.service.entity.item;

import com.ruoyi.service.domain.ServiceCombo;

import java.util.List;

/**
 * 服务套餐耗材包关系体
 *
 * @author ZDL
 */
@lombok.Data
public class PCComboRsp {

    /**
     * 套餐id
     */
    private Long id;
    /**
     * 套餐名称
     */
    private String specName;
    /**
     * 套餐价格
     */
    private Long price;
    private Long curentPrice;
    private Long rate;

    /**
     * 套餐说明
     */
    private String desc;
    //耗材包
    private List<PCPackagesList> packages;

    public PCComboRsp(ServiceCombo combo) {
        this.setId(combo.getComboId());
        this.setSpecName(combo.getComboName());
        this.setPrice(combo.getComboPrice());
        this.setCurentPrice(combo.getComboCurrentprice());
        this.setRate(combo.getComboRate());
        this.setDesc(combo.getComboIllustrate());
    }

    public PCComboRsp() {
    }
}
